package com.example.mr5.frogge;

/**
 * Created by Mr.5 
 * Date：2016/5/9.
 * Time：10:03
 */
public class Frog{
    private int x;	//青蛙的坐标

    int type;
    public static final int LEFT_SIZE = 1;
    public static final int RIGHT_SIZE = -1;

    public Frog(int type,int x){
        this.type = type;
        this.x = x;
    }

    public void setType(int type) {
        this.type = type;
    }

    public int getType() {
        return type;
    }

    public int getX() {
        return x;
    }

    public void setX(int x) {
        this.x = x;
    }

}
